login_status = False

username='alex'
password='123456'

def login():
    if login_status is False:
       m_username=input('username:') 
       m_password=input('password:') 
       if m_username == username and m_password == password :
           login_status =True
           print('welcom %s ...' %m_username)
           
@login
def book():
    print('welcome to book page')
    
@login    
def finace():
    print('welcome to finace page')
    
def ui():
    print('1 browser book page')
    print('2 browser book page')
    